package day04;

public class ForDemo {
    public static void main(String[] args) {
         for (int times=0;times<5;times++) {
             System.out.println("失败是成功之母");
         }
    //times=0   true   输出
    //times=1   true   输出
    //times=2   true   输出
    //times=3   true   输出
    //times=4   true   输出
    //times=5   false  停止
        for (int num=1;num<10;num++){
            System.out.println(num+"*9="+num*9);
        }

        for (int num=1;num<10;num+=2){
            System.out.println(num+"*9="+num*9);
        }
    }
}
